package cn.com.chengmandian.bike.mapper;

import cn.com.chengmandian.bike.dto.RentOrderDto;
import cn.com.chengmandian.bike.model.EbRentOrder;
import cn.com.chengmandian.bike.model.vo.RentOrderVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 电单车运营-分时租赁订单 Mapper 接口
 * </p>
 *
 * @author AutoGenerator
 * @since 2023-07-10
 */
@Mapper
public interface EbRentOrderMapper extends BaseMapper<EbRentOrder> {

    IPage<RentOrderVo> getPage(Page<RentOrderVo> page, @Param("dto") RentOrderDto dto);

    RentOrderVo detail(@Param("id") Integer id);
}
